package com.txzt.gaea.archive.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.txzt.gaea.common.base.entity.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class BizArchiveVo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id ;
    /*状态*/
    private Integer status ;
    /*类型*/
    private Integer type ;
    /*档案名称*/
    private String archiveName ;
    /*外借人*/
    private Long borrowBy ;

    private String borrowName;

    private Long departId;
    /*所属部门*/
    private Long deptId ;

    private String departName;
    /*外借时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date borrowDate ;
    /*归档日期*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date filingDate ;
    /*归还时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date returnDate ;

    private String createName;

    private String updateName;

    /*
	文件列表
	*/
    private String fileRemark ;
}
